﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace EjemploEF5.Models
{
    [Table("alumno")]

    public class Alumno
    {
        [Key] //Necesitamos determinar la clave para la BD

        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]

        public int id { get; set; }
        public String nombre {get; set;}
        public String apellido { get; set; }

    }
}